package top.suven.base.http.processor.url;





import top.suven.base.http.processor.url.annotations.CDN;
import top.suven.base.http.processor.url.annotations.Interc;
import top.suven.base.http.processor.url.annotations.UrlRemote;

import java.util.concurrent.TimeUnit;

@CDN
@Interc
@UrlRemote
public class URLCommand {

    /*  ================ resource 模块 start ============================ */
    /** 获取广告图片信息*/
    @CDN(value = 60, unit = TimeUnit.SECONDS)
    @UrlRemote
    public static final String ad_get_info = "/resource/get/ad";

    /** 保存用户关闭广告图片日志（设备列表页调用） */
    public static final String ad_post_save_picture_log = "/resource/post/ad/savePictureLog";

    /** 获取分享信息*/
    @CDN(value = 5, unit = TimeUnit.SECONDS)
    public static final String share_get_by_client_type = "/resource/get/share";

    /**登录图形验证码接口*/
    public static final String get_login_image="/resource/get/loginImage";

    /**绑定普通设备验证码接口*/
    public static final String get_bindFreePad_image="/resource/get/bindFreePadImage";

    /**注册图形验证码接口*/
    public static final String get_singup_image="/resource/get/signupImage";

    /**文件续点上传接口*/
    public static final String resource_resumeUpload="/resource/post/resumeUpload";

    /** 获取vip商品信息 */
    public static final String resource_post_find_vip_goods = "/resource/post/findVipGoods";

    /** 获取商品类型信息 */
    public static final String resource_post_find_goods_type_info_list = "/resource/post/findGoodsTypeInfoList";

    /**获取钱包充值套餐*/
    public static final String resource_post_wallet_goods = "/resource/post/walletGoods";

    /** 获取分享信息*/
    public static final String reminded_get_remindeds = "/resource/post/reminded";

    /*  ================ resource 模块 end ============================ */

    /*  ================ oauth 模块 start ============================ */
    /**获取auth_code的接口*/
    @CDN(value = 5, unit = TimeUnit.SECONDS)
    @UrlRemote(isParamSign=true)
    public static final  String auth_get_auth_code="/oauth/get/authCode";


    /**授权端点*/
    @UrlRemote
    public static final  String auth_post_authorize="/oauth/authorize";
    /**授权服务错误信息端点*/
    @UrlRemote
    public static final  String auth_post_token ="/oauth/token";
    /**校验access_token的接口*/
    @UrlRemote
    public static final  String auth_post_check_token ="/oauth/check_token";
    /**提供公有密匙的端点，如果你使用JWT令牌的话*/
    @UrlRemote
    public static final  String auth_post_token_key ="/oauth/token_key";
    /**用于资源服务访问的令牌解析端点。*/
    @UrlRemote
    public static final  String auth_post_error ="/oauth/error";


    //    /oauth/authorize：授权端点。
//            /oauth/token：令牌端点。
//            /oauth/confirm_access：用户确认授权提交端点。
//            /oauth/error：授权服务错误信息端点。
//            /oauth/check_token：用于资源服务访问的令牌解析端点。
//            /oauth/token_key：提供公有密匙的端点，如果你使用JWT令牌的话。
    @UrlRemote
    public static final  String auth_post_authorize_token="/oauth/accessToken";






    @UrlRemote
    public static final  String auth_post_authorize_checkToken="/oauth/checkToken";

    /**校验access_token的接口*/
    public static final  String auth_start_maintain_module="/oauth/post/startMaintainModule";

    /**校验access_token的接口*/
    public static final  String auth_get_maintain_module="/oauth/post/findMaintainModule";

    /**用户登录(包括用户账号和第三方)*/
    @UrlRemote(isParamSign=true)
    public static final String check_login="/oauth/post/checkLogin";

    /**用户注册*/
    @UrlRemote
    public static final String oauth_post_signUp = "/oauth/post/signUp";

    /*  ================ oauth 模块 end ============================ */

    /*  ================ market 模块 start ============================ */
    /**任务栏是否展示接口*/
    @CDN(value = 5, unit = TimeUnit.SECONDS)
    public static final String channel_discover="/market/get/discover";

    /**校验版本*/
    @UrlRemote
    public static final String version_checkNewVersion="/market/post/checkNewVersion";

    /*  ================ market 模块 end ============================ */

    /**获取钱包充值套餐*/
    public static final String resources_get_wallet_goods = "/resources/get/walletGoods";

    /* ================ resource 模块 end ============================ */


    /*  ================ pad 模块 start ============================ */
    /** 查看是否可申请体验设备*/
    public static final String pad_post_check_padProbation = "/pad/post/checkPadProbation";

    /**屏幕截图*/
    public static final String command_screen="/pad/post/commandScreen";

    /**获取用户设备列表*/
    public static final String pad_post_pad_list ="/pad/post/findPadList";

    /** 申请体验设备*/
    public static final String pad_post_bindTastePad = "/pad/post/bindTastePad";

    /**获取授权用户设备列表*/
    public static final String pad_post_grantpad_list ="/pad/post/findGrantPadList";

    /**根据授权码绑定设备*/
    public static final String pad_post_bindpad_grantcode ="/pad/post/bindPadByGrantCode";

    /** 修改设备名称*/
    public static final String pad_post_update_pad_name = "/pad/post/updatePadName";

    /** 获取设备授权信息 */
    public static final String pad_post_pad_grant_info = "/pad/post/findPadGrantInfo";

    /** 检查绑定设备是否需要图形验证码 */
    public static final String pad_post_pad_grant_need_valid_code = "/pad/post/grant/needValidCode";

    /** 用户绑定普通设备（破解版） */
    public static final String pad_post_bind_free_pad_for_cracked = "/pad/post/bindFreePadForCracked";

    /** 获取设备详情 */
    public static final String pad_post_find_detail = "/pad/post/findDetail";

    /**检查能否申请GVIP云手机*/
    public static final String pad_post_check_gvip_pad = "/pad/post/checkGvipPad";

    /**检查能否申请VIP云手机*/
    public static final String pad_post_check_vip_pad = "/pad/post/checkVipPad";

    /**检查能否申请云手机*/
    public static final String pad_post_check_pad = "/pad/post/checkPad";
    /**检查能否申请云手机*/

    /** 设备等级红豆兑换配置*/
    public static final String pad_post_padRbcStandard = "/pad/post/getPadRbcStandard";

    /** 设备分组集合*/
    public static final String pad_post_groupList = "/pad/post/getGroupList";

    /** 支付方式*/
    public static final String pay_post_padMode = "/pay/post/getPayMode";

    /**云控平台设备列表*/
    public static final String pad_get_winstPadList = "/pad/post/getWinstPadList";




    public static final String pad_post_winstPadList = "/pad/post/getWinstPadList";
    /*  ================ pad 模块 end ============================ */


    /*  ================ user 模块 start ============================ */

    /**获取用户信息接口*/
    public static final  String user_post_findUserinfo="/user/post/findUserInfo";

    /*  ================ user 模块 end ============================ */

    /*  ================ assets 模块 start ============================ */
//    /**获取钱包金额接口*/
//    @CDN(value = 5, unit = TimeUnit.SECONDS)
//    public static final  String assets_get_Wallet="/assets/get/walletByUserId";

    /** 获取用户红豆记录 */
    public static final  String assets_post_find_rbc_record = "/assets/post/findRbcRecord";

    /**获取我的礼包分页列表*/
    public static final String assets_post_my_gift = "/assets/post/myGiftList";

    /**获取我的礼包分页列表*/
    public static final String assets_get_my_gift = "/assets/get/myGiftList";
    /*  ================ assets 模块 end ============================ */

    /*  ================ activity 模块 start ============================ */
    /** 获取任务列表*/
    public static final String activity_get_task_list = "/activity/get/taskList";
    /** 获取任务列表*/
    public static final String activity_post_task_list = "/activity/post/findTaskList";

    /**post获取签到任务信息接口*/
    public static final  String activity_post_findSigninTask ="/activity/post/findSigninTask";

    /**get获取签到任务信息接口*/
    public static final  String activity_get_signinTask ="/activity/get/signinTask";

    /**完成任务接口*/
    public static final  String activity_post_finishTask ="/activity/post/finishTask";



    /* ================ activity 模块 end ============================ */

    /*  ================ config 模块 start ============================ */
    /**获取配置信息接口*/
    @CDN(value = 5, unit = TimeUnit.SECONDS)
    public static final  String config_get_configValue="/config/get/configValue";






    /*  ================ order 模块 start ============================ */
    /** 获取用户订单列表 */
    public static final String order_post_find_page_list = "/order/post/findOrders";

    /**查询订单详情*/
    public static final String order_post_order_detail = "/order/post/orderDetail";

    /** 充值下单 */
    public static final String order_post_recharge = "/order/post/recharge";

    /**购买VIP设备订单*/
    public static final String order_post_buy = "/order/post/buy";
    /*  ================ order 模块 end ============================ */

    /*  ================ information 模块 start ============================ */

    /**
     * 获取资讯信息
     */
    public static final String information_post_information_list = "/information/post/getInformationList";

    /**
     * 判断咨询是否全部已读和最新咨询标题
     */
    public static final String information_post_no_read_information = "/information/post/noReadInformation";

    /**
     * 将资讯设为已读
     */
    public static final String information_post_setup_information = "/information/post/setupInformation";

    /**
     * 消息和资讯是否已读
     */
    public static final String information_post_check_all_is_read = "/information/post/checkAllIsRead";

    /**
     * 批量修改消息为已读
     */
    public static final String information_post_set_msg_read = "/information/post/setMsgRead";

    /**
     * 消息是否已读
     */
    public static final String information_post_check_message_is_read = "/information/post/checkMessageIsRead";

    /**
     * 查询最新信息
     */
    public static final String information_post_message = "/information/post/message";

    /**
     * 查询最新信息列表
     */
    public static final String information_post_message_list = "/information/post/messageList";

    /**
     * 更新消息为已读
     */
    public static final String information_post_update_message_is_read = "/information/post/updateMessageIsRead";

    /**
     * 获取用户公告信息接口
     */
    public static final String information_post_find_user_notice_page = "/information/post/findUserNoticePage";

    /**
     * 获取消息页面数据接口
     */
    public static final String information_post_notice_msg = "/information/post/noticeMsg";

    /**
     * 批量更新公告为已读
     */
    public static final String information_post_set_notice_read = "/information/post/setNoticeRead";

    /**发送注册短信验证码接口*/
    public static final String information_post_send_signup_valid_code = "/information/post/sendSignUpValidCode";

    /**发送绑定手机短信验证码接口*/
    public static final String information_post_send_bind_user_phone_valid_code = "/information/post/sendBindUserPhoneValidCode";

    /**发送重置密码短信验证码接口*/
    public static final String information_post_send_reset_valid_code = "/information/post/sendResetValidCode";

    /**发送解绑邮箱短信验证码接口*/
    public static final String information_post_send_un_bind_email_valid_code = "/information/post/sendUnBindEmailValidCode";

    /**发送绑定设备短信验证码接口*/
    public static final String information_post_send_bind_pad_valid_code = "/information/post/sendBindPadValidCode";

    /*  ================ information 模块 end ============================ */
}




